import { Controller, Get, Inject, Injectable, Req, Scope } from '@nestjs/common';
import { Request } from 'express';

@Controller('/')
// @Injectable({ scope: Scope.REQUEST })
export class AppController {
  // constructor(
  //   @Inject(REQUEST)
  //   readonly request: Request,
  // ) {}

  @Get()
  index(@Req() request: Request) {
    return 222;
  }
}
